package de.urlaub.client.gui;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import de.urlaub.client.VacationClient;

public class ViewChooserListener implements ActionListener 
{
	private VacationClient vacationClient;
	
	public ViewChooserListener(VacationClient vacationClient)
	{
		this.vacationClient = vacationClient;
	}
	
	@Override
	public void actionPerformed(ActionEvent e) 
	{
		ViewChooserListener.this.vacationClient.refreshFrame();
	}
}
